package com.dudu.service;

import com.dudu.mapper.UserMapper;
import com.dudu.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: 小河
 * @Description:
 * @Date: 2024-07-16 10:49:46
 * @Version: 1.0
 */
@Service
public class UserService {
    @Autowired
    private UserMapper userMapper;
    public User findByPhone(String phone) {
        return userMapper.selectByPhone(phone);
    }
}
